<html>
	<head>
		<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
		<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
		<link rel="stylesheet" type="text/css" href="/vraptor-blank-project/css/style.css" />
		<link rel="stylesheet" type="text/css" href="/vraptor-blank-project/css/bootstrap.min.css" />
		
		<title>Index</title>
	</head>
		<body>
		<div class="container">
		<nav class="navbar navbar-default navbar-fixed-top">
		<c:if test="${admSessioned.islogado}">
						<p class="navbar-text navbar-right">
							Signed in as ${admSessioned.nome} <a
								href="${linkTo[admSessioned].logout}">Logout</a>
						</p>
					</c:if>
					<c:if test="${professorSessioned.islogado}">
						<p class="navbar-text navbar-right">
							Signed in as ${professorSessioned.nome } <a
								href="${linkTo[professorSessioned].logout}">Logout</a>
						</p>
					</c:if>
					<c:if test="${!admSessioned.islogado}">
					<form class="navbar-form navbar-right" action="${linkTo[AdministradorController].login}" method="post">
					<input  placeholder="Login" class="input-xs" name="matricula">
					<input type="password" class="input-xs" placeholder="Senha" name="senha">
					<input type="submit" value="Entrar" class="btn-xs btn-default" >
					</form>
					<h5 class="navbar-text navbar-right"><span class="glyphicon glyphicon-lock"></span> Área administrativa</h5>
					</c:if>
		</nav>
			<div class="jumbotron">
				<h1>SisReserva<small><small><small>v0.0.1</small></small></small></h1>
			</div>
			
			

			<div class="col-md-4 col-md-offset-4">
			<div class="panel panel-default">
				<div class="panel-heading">Professor</div>
				<div class="panel-body">
				<form class="form-group" action="${linkTo[ProfessorController].login}" method="post">
					<input class="form-control" placeholder="Login" name="matricula"/>
					<input class="form-control" placeholder="Senha" name="senha" type="password"/>
					<input type="submit" class="btn btn-primary btn-sm btn-block" value="Entrar">
				</form>
				</div>
			</div>
			</div>
			</div>
			
		
		
			
	</body>
</html>
